package com.donleo.alipay.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author liangd
 * @since 2021-03-08 9:29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class RefundLog extends Base {
    /**
     * 商户订单号
     */
    private String outTradeNo;
    /**
     * 退款编号
     */
    private String refundNo;
    /**
     * 退款金额
     */
    private Double refundAmount;
    /**
     * 退款原因
     */
    private String refundInfo;
    /**
     * 退款时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date refundTime;
}
